<h3>{{model:title}}</h3>
<?php echo form_open(base_url('polls/vote'))?>
{{model:answers}}
	<p>
	{{if polls_vote}}
		<span style="float:right">
			{{votes}}
		</span>
	{{else}}
		<input type="radio" value="{{id}}" name="vote" />
	{{endif}}
		{{title}}
	</p>
	
{{/model:answers}}
{{if !polls_vote}}
<button class="btn">{{helper:lang line='polls:votes'}}</button>
{{endif}}
<?php echo form_close()?>